package com.kamistoat.meimeistore.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

@FeignClient("meimeistore-web-backstage-coupon")
public interface CouponFeignService {
    @GetMapping("meimeistorecoupon/spubounds/getBoundsBySpuId")
    BigDecimal[] getBoundsBySpuId(@RequestParam Long spuId);
}
